@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}
h1,h2,h3,h4{font-weight: normal;}
ul,li{list-style: none;}
html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  font-style: normal;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}
.block {
  display: block;
}
.block1 {
  display: block!important;
}
.none{display: none;}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}
.ellipsis1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.t_center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

// 全局公用 
// 外边距
.mt10 {margin-top: 10px;}
.mt15 {margin-top: 15px;}
.ml20{margin-left:20px;}
.mt20{margin-top:20px;}
.mr5{margin-right: 5px;}
.mll5{margin-left: 15px;}
.mr10{margin-right: 10px;}
.mr15{margin-right: 15px;}
.mr20{margin-right: 20px;}
.mr25{margin-right: 25px;}
.mr30{margin-right: 30px;}
.ml10{margin-left:10px;}
.ml0{margin-left: 0!important;}
.ml-5{margin-left: -5px;}
.mt5{margin-top: 5px;}
.ml100{margin-left: 100px;}
.ml50{margin-left: 50px;}
.mt70{margin-top: 70px;}

// 内边距
.pt5{padding-top: 5px;}
.pl0{padding-left: 0;}
.pl20{padding-left: 20px;}
.pl24{padding-left: 24px!important;}
.pl30{padding-left: 30px;}
.pl40{padding-left: 40px;}
.pl15{padding-left: 15px;}
.pt10 {padding-top: 10px;}
.pr-5 {padding-right: 5px;}
.pl-5 {padding-left: 5px;}
.pl8{padding-left: 8px;}

// 宽高圆角
.w100 { width: 100px; }
.w100w{width: 100vw;}
.w90w{width: 90vw;}
.w120 {width: 120px;}
.w130 {width: 130px;}
.w150 {width: 150px;}
.w160{width: 160px;}
.w200 {width: 200px;}
.w220{width: 220px;}
.w300 {width: 300px;}
.w360 {width: 360px;}
.w400 {width: 400px;}
.w250{width: 250px;}
.w400 {width: 400px;}
.h25{height: 25px;}

.radius_45 {
  border-radius: 45px;
}
.flex {
  display: flex;
}

.flexcenter {
  display: flex;
  justify-content: center;
}
.t_right {
  text-align: right;
}
.nowap {
  white-space: nowrap;
}
.dot_red {
  background:red;
  position: relative;
top: -1px;
display: inline-block;
width: 6px;
height: 6px;
vertical-align: middle;
border-radius: 50%;
}

// 定位
.relative{position: relative;}
.absolute{position: absolute;}
.fixed{position: fixed;}
.top4{top:4px}

.inline_block {display: inline-block;}
// 状态查询下拉样式
.statusStyle {
  label, input,.el-select__caret {
    color: #a145ff!important;
  }
  input {
    border-color: #a145ff;
  }
}

.lis_tit {
  margin-bottom: 20px;
  i {
    display: inline-block;
    background: #8a16ff;
    height: 16px;
    width: 3px;
    margin-right: 6px;
    position: relative;
    top:3px;
  }
  span {
    color: #606266;
  }
}
.app-container1 {
  padding-top: 6px;
}

// 设置进度条色值
#nprogress .bar {
  background: #8a16ff !important;
 }

 // 更改svg字体
.empty {
  font-size: 30px;
  fill: #C0C4CC!important;
  display: block;
 margin-bottom: 4px;
 margin: 0 auto;
}

// 列表图片框
.imgBox {
  border:1px #c3a1e6 dashed;
  border-radius: 4px;
  height: 172px;
}

// 色值
.red {color: red;}
.green{color: #13ce66;}
.themeColor {color: #8a16ff;}
.icon_warn {color: #e6a23c;}
.lineColor{color: #C0C4CC;}
// 弹性盒
.flex {
  display: flex;
}
.flexbetween {
  display: flex;
  justify-content: space-between;
}

// 文本提示
.desTip {
  color: #999;
    font-size: 12px;
}

// 表格多选悬浮框
.multipleTable_suspend {
  transition: all .4s;
  width:100%;
  background: #fff;
  border: #DCDFE6 1px solid;
  border-left: none;
  border-right: none;
  height: 52px;
  padding-top: 7px;
  .cancel {
    margin-left: 20px;
  }
  .tip i {
    font-style: normal;
  }
  .tip img {
   position: relative;
   top:2px;
    margin-right: 5px;
  }
  .fr {
    margin-right: 2%;
  }
.tip1 {
  color: #999;
  padding-right: 30px;
}
}